package org.demo.modules.system.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/index")
@Api(tags = "测试")
@Slf4j
public class IndexController {

    @GetMapping("/test")
    @ApiOperation("测试接口")
    public String index() {
        return "ok";
    }
}
